import React from "react";
import { HashRouter as Router, Route, Switch } from "react-router-dom";
import Index from "../pages/index/index"
export default class RouterComponent extends React.Component {
  render() {
    return (
      <React.Fragment>
        <Router>
          <React.Fragment>
            <Switch>
              <Route exact path="/" component={Index}></Route>
            </Switch>
          </React.Fragment>
        </Router>
      </React.Fragment>
    );
  }
}